package com.tender.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.tender.api.DubboHelloTestService;

import java.util.HashMap;
import java.util.Map;

@Service(version = "1.0.0")
public class DubboHelloTestServiceImpl implements DubboHelloTestService {

    @Override
    public Map<String, Object> hello(String name) {
        Map<String, Object> map = new HashMap<>();
        map.put("great", "hello " + name);

        return map;
    }

}
